package com.woniuxy.user.service;

import com.woniuxy.commons.entity.User;

import java.util.List;

public interface UserService {
    boolean register(String user);

    int login(User user);

    List<User> isExist(User user);

    List<String> findPermsByUsername(String username);

    boolean isExistUsername(String username);

    boolean isExistPhone(String phone);

    boolean changePassword(User user);

    boolean isPasswordSame(User user);
}
